package com.tender.controller;

import com.tender.common.ActionResult;
import com.tender.dtos.IndexOrderPureDTO;
import com.tender.dtos.UnitCompositeInfoDTO;
import com.tender.model.BillAndShipVisitModel;
import com.tender.model.IndexOrderModel;
import com.tender.page.PageDTO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Tag(name = " 物流可视化首页-进口", description = "物流可视化首页-进口")
@RequestMapping("/api/visualization/import/index")
public class ImportIndexController {


    @PostMapping("/unit/page")
    @Operation(summary = "物流可视化首页-进口")
    public ActionResult<PageDTO<IndexOrderPureDTO>> unitPage(
            @Parameter(description = "物流可视化首页-进口-查询入参")
            @RequestBody IndexOrderModel param) {
        return ActionResult.success();
    }

    @PostMapping("/bill/page")
    @Operation(summary = "物流可视化首页-进口-提单号嵌套首页")
    public ActionResult<PageDTO<UnitCompositeInfoDTO>> billPage(
            @Parameter(description = "物流可视化首页-进口-提单号嵌套首页")
            @RequestBody BillAndShipVisitModel param) {

        return ActionResult.success();
    }

}
